{
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "Best run in google Chrome"
      ],
      "metadata": {
        "id": "ZdfnGoUArE2A"
      }
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "aaaaaaaaaa"
      },
      "source": [
        "#Step 1 (every time)\n",
        "\n",
        "###This first cell will initiate the colab runtime and install the required libraries for running ComfyUI.\n",
        "\n",
        "- Select `USE_GOOGLE_DRIVE` so that ComfyUI intall and diffusion models can be saved, maintained and loaded from your google drive for future uses. Keep selected.\n",
        "\n",
        "- `UPDATE_COMFY_UI`: Select for first run, can deselect afterwards. Note that default libraries and python versions in Colab are often being upgraded (andchange depending on the runtime type you are using). If you run into issues try reselecting and updating ConfyUI.\n",
        "\n",
        "- `USE_COMFY_UI_MANAGER`: Select for easy management and installation of custom nodes (recommended)\n",
        "\n",
        "- `INSTALL_CUSTON_NODE_DEPENDENCIES`: Recommend leaving checked, some custom nodes (those that include a requirements.txt) have libraries that are not included in the base install these custom nodes may fail to work without this checked. If cell is taking a long time to execute can try deselecting.\n",
        "\n",
        "A notification will appear asking to access your google drive account for file storage. Allow access.\n",
        "\n",
        "The first time running this cell will take 7-10 minutes.\n"
      ]
    },
    {
      "cell_type": "code",
      "execution_count": 1,
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "bbbbbbbbbb",
        "outputId": "5bd79d66-9eab-41dd-ef88-31eb20e13d07"
      },
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Mounting Google Drive...\n",
            "/\n",
            "Mounted at /content/drive\n",
            "/content/drive/MyDrive\n",
            "-= Initial setup ComfyUI =-\n",
            "Cloning into 'ComfyUI'...\n",
            "remote: Enumerating objects: 10172, done.\u001b[K\n",
            "remote: Counting objects: 100% (297/297), done.\u001b[K\n",
            "remote: Compressing objects: 100% (167/167), done.\u001b[K\n",
            "remote: Total 10172 (delta 172), reused 212 (delta 127), pack-reused 9875\u001b[K\n",
            "Receiving objects: 100% (10172/10172), 4.13 MiB | 13.26 MiB/s, done.\n",
            "Resolving deltas: 100% (6807/6807), done.\n",
            "Updating files: 100% (276/276), done.\n",
            "/content/drive/MyDrive/ComfyUI\n",
            "-= Updating ComfyUI =-\n",
            "Already up to date.\n",
            "-= Install dependencies =-\n",
            "Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121, https://download.pytorch.org/whl/cu118, https://download.pytorch.org/whl/cu117\n",
            "Collecting xformers!=0.0.18\n",
            "  Downloading https://download.pytorch.org/whl/cu118/xformers-0.0.24%2Bcu118-cp310-cp310-manylinux2014_x86_64.whl (218.1 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m218.1/218.1 MB\u001b[0m \u001b[31m5.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 1)) (2.1.0+cu121)\n",
            "Collecting torchsde (from -r requirements.txt (line 2))\n",
            "  Downloading torchsde-0.2.6-py3-none-any.whl (61 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.2/61.2 kB\u001b[0m \u001b[31m846.7 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 3)) (0.16.0+cu121)\n",
            "Collecting einops (from -r requirements.txt (line 4))\n",
            "  Downloading einops-0.7.0-py3-none-any.whl (44 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m44.6/44.6 kB\u001b[0m \u001b[31m3.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: transformers>=4.25.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 5)) (4.37.2)\n",
            "Requirement already satisfied: safetensors>=0.3.0 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 6)) (0.4.2)\n",
            "Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (3.9.3)\n",
            "Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 8)) (6.0.1)\n",
            "Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (9.4.0)\n",
            "Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 10)) (1.11.4)\n",
            "Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 11)) (4.66.2)\n",
            "Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 12)) (5.9.5)\n",
            "Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from xformers!=0.0.18) (1.25.2)\n",
            "Collecting torch (from -r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/torch-2.2.0%2Bcu121-cp310-cp310-linux_x86_64.whl (757.3 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m757.3/757.3 MB\u001b[0m \u001b[31m2.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (3.13.1)\n",
            "Requirement already satisfied: typing-extensions>=4.8.0 in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (4.9.0)\n",
            "Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (1.12)\n",
            "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (3.2.1)\n",
            "Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (3.1.3)\n",
            "Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from torch->-r requirements.txt (line 1)) (2023.6.0)\n",
            "Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m23.7/23.7 MB\u001b[0m \u001b[31m56.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cuda-runtime-cu12==12.1.105 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m823.6/823.6 kB\u001b[0m \u001b[31m68.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cuda-cupti-cu12==12.1.105 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m14.1/14.1 MB\u001b[0m \u001b[31m90.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cudnn-cu12==8.9.2.26 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m731.7/731.7 MB\u001b[0m \u001b[31m2.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cublas-cu12==12.1.3.1 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m410.6/410.6 MB\u001b[0m \u001b[31m3.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cufft-cu12==11.0.2.54 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m121.6/121.6 MB\u001b[0m \u001b[31m8.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-curand-cu12==10.3.2.106 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.5/56.5 MB\u001b[0m \u001b[31m10.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cusolver-cu12==11.4.5.107 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m124.2/124.2 MB\u001b[0m \u001b[31m9.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-cusparse-cu12==12.1.0.106 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m196.0/196.0 MB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-nccl-cu12==2.19.3 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_nccl_cu12-2.19.3-py3-none-manylinux1_x86_64.whl (166.0 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m166.0/166.0 MB\u001b[0m \u001b[31m6.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-nvtx-cu12==12.1.105 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m99.1/99.1 kB\u001b[0m \u001b[31m11.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting triton==2.2.0 (from torch->-r requirements.txt (line 1))\n",
            "  Downloading https://download.pytorch.org/whl/triton-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (167.9 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m167.9/167.9 MB\u001b[0m \u001b[31m7.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==11.4.5.107->torch->-r requirements.txt (line 1))\n",
            "  Downloading nvidia_nvjitlink_cu12-12.3.101-py3-none-manylinux1_x86_64.whl (20.5 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m20.5/20.5 MB\u001b[0m \u001b[31m29.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting trampoline>=0.1.2 (from torchsde->-r requirements.txt (line 2))\n",
            "  Downloading trampoline-0.1.2-py3-none-any.whl (5.2 kB)\n",
            "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from torchvision->-r requirements.txt (line 3)) (2.31.0)\n",
            "INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while.\n",
            "Collecting torchvision (from -r requirements.txt (line 3))\n",
            "  Downloading https://download.pytorch.org/whl/cu121/torchvision-0.17.1%2Bcu121-cp310-cp310-linux_x86_64.whl (7.0 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.0/7.0 MB\u001b[0m \u001b[31m113.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25h  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.1%2Bcu118-cp310-cp310-linux_x86_64.whl (6.2 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.2/6.2 MB\u001b[0m \u001b[31m86.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25h  Downloading torchvision-0.17.1-cp310-cp310-manylinux1_x86_64.whl (6.9 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.9/6.9 MB\u001b[0m \u001b[31m45.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25h  Downloading https://download.pytorch.org/whl/cu121/torchvision-0.17.0%2Bcu121-cp310-cp310-linux_x86_64.whl (7.0 MB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.0/7.0 MB\u001b[0m \u001b[31m105.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: huggingface-hub<1.0,>=0.19.3 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 5)) (0.20.3)\n",
            "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 5)) (23.2)\n",
            "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 5)) (2023.12.25)\n",
            "Requirement already satisfied: tokenizers<0.19,>=0.14 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements.txt (line 5)) (0.15.2)\n",
            "Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 7)) (1.3.1)\n",
            "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 7)) (23.2.0)\n",
            "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 7)) (1.4.1)\n",
            "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 7)) (6.0.5)\n",
            "Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 7)) (1.9.4)\n",
            "Requirement already satisfied: async-timeout<5.0,>=4.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->-r requirements.txt (line 7)) (4.0.3)\n",
            "Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.10/dist-packages (from yarl<2.0,>=1.0->aiohttp->-r requirements.txt (line 7)) (3.6)\n",
            "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch->-r requirements.txt (line 1)) (2.1.5)\n",
            "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 3)) (3.3.2)\n",
            "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 3)) (2.0.7)\n",
            "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->torchvision->-r requirements.txt (line 3)) (2024.2.2)\n",
            "Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->-r requirements.txt (line 1)) (1.3.0)\n",
            "Installing collected packages: trampoline, triton, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, einops, nvidia-cusparse-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, torch, xformers, torchvision, torchsde\n",
            "  Attempting uninstall: triton\n",
            "    Found existing installation: triton 2.1.0\n",
            "    Uninstalling triton-2.1.0:\n",
            "      Successfully uninstalled triton-2.1.0\n",
            "  Attempting uninstall: torch\n",
            "    Found existing installation: torch 2.1.0+cu121\n",
            "    Uninstalling torch-2.1.0+cu121:\n",
            "      Successfully uninstalled torch-2.1.0+cu121\n",
            "  Attempting uninstall: torchvision\n",
            "    Found existing installation: torchvision 0.16.0+cu121\n",
            "    Uninstalling torchvision-0.16.0+cu121:\n",
            "      Successfully uninstalled torchvision-0.16.0+cu121\n",
            "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
            "torchaudio 2.1.0+cu121 requires torch==2.1.0, but you have torch 2.2.0+cu121 which is incompatible.\n",
            "torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.2.0+cu121 which is incompatible.\n",
            "torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.2.0+cu121 which is incompatible.\u001b[0m\u001b[31m\n",
            "\u001b[0mSuccessfully installed einops-0.7.0 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-8.9.2.26 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.19.3 nvidia-nvjitlink-cu12-12.3.101 nvidia-nvtx-cu12-12.1.105 torch-2.2.0+cu121 torchsde-0.2.6 torchvision-0.17.0+cu121 trampoline-0.1.2 triton-2.2.0 xformers-0.0.24+cu118\n",
            "/content/drive/MyDrive/ComfyUI/custom_nodes\n",
            "-= Initial setup ComfyUI-Manager =-\n",
            "Cloning into 'ComfyUI-Manager'...\n",
            "remote: Enumerating objects: 6850, done.\u001b[K\n",
            "remote: Counting objects: 100% (1269/1269), done.\u001b[K\n",
            "remote: Compressing objects: 100% (318/318), done.\u001b[K\n",
            "remote: Total 6850 (delta 1015), reused 1039 (delta 951), pack-reused 5581\u001b[K\n",
            "Receiving objects: 100% (6850/6850), 4.67 MiB | 12.04 MiB/s, done.\n",
            "Resolving deltas: 100% (4983/4983), done.\n",
            "/content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI-Manager\n",
            "Already up to date.\n",
            "/content/drive/MyDrive/ComfyUI\n",
            "/content/drive/MyDrive/ComfyUI\n",
            "-= Install custom nodes dependencies =-\n",
            "## Install dependencies for 'ComfyUI-Manager'\n",
            "Collecting GitPython (from -r custom_nodes/ComfyUI-Manager/requirements.txt (line 1))\n",
            "  Downloading GitPython-3.1.42-py3-none-any.whl (195 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m195.4/195.4 kB\u001b[0m \u001b[31m2.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting matrix-client==0.4.0 (from -r custom_nodes/ComfyUI-Manager/requirements.txt (line 2))\n",
            "  Downloading matrix_client-0.4.0-py2.py3-none-any.whl (43 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m43.5/43.5 kB\u001b[0m \u001b[31m6.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: transformers in /usr/local/lib/python3.10/dist-packages (from -r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (4.37.2)\n",
            "Requirement already satisfied: huggingface-hub>0.20 in /usr/local/lib/python3.10/dist-packages (from -r custom_nodes/ComfyUI-Manager/requirements.txt (line 4)) (0.20.3)\n",
            "Requirement already satisfied: requests~=2.22 in /usr/local/lib/python3.10/dist-packages (from matrix-client==0.4.0->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 2)) (2.31.0)\n",
            "Collecting urllib3~=1.21 (from matrix-client==0.4.0->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 2))\n",
            "  Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m143.8/143.8 kB\u001b[0m \u001b[31m10.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hCollecting gitdb<5,>=4.0.1 (from GitPython->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 1))\n",
            "  Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)\n",
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.7/62.7 kB\u001b[0m \u001b[31m6.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hRequirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (3.13.1)\n",
            "Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (1.25.2)\n",
            "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (23.2)\n",
            "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (6.0.1)\n",
            "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (2023.12.25)\n",
            "Requirement already satisfied: tokenizers<0.19,>=0.14 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (0.15.2)\n",
            "Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (0.4.2)\n",
            "Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 3)) (4.66.2)\n",
            "Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>0.20->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 4)) (2023.6.0)\n",
            "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>0.20->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 4)) (4.9.0)\n",
            "Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 1))\n",
            "  Downloading smmap-5.0.1-py3-none-any.whl (24 kB)\n",
            "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests~=2.22->matrix-client==0.4.0->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 2)) (3.3.2)\n",
            "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests~=2.22->matrix-client==0.4.0->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 2)) (3.6)\n",
            "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests~=2.22->matrix-client==0.4.0->-r custom_nodes/ComfyUI-Manager/requirements.txt (line 2)) (2024.2.2)\n",
            "Installing collected packages: urllib3, smmap, gitdb, matrix-client, GitPython\n",
            "  Attempting uninstall: urllib3\n",
            "    Found existing installation: urllib3 2.0.7\n",
            "    Uninstalling urllib3-2.0.7:\n",
            "      Successfully uninstalled urllib3-2.0.7\n",
            "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
            "torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.2.0+cu121 which is incompatible.\n",
            "torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.2.0+cu121 which is incompatible.\u001b[0m\u001b[31m\n",
            "\u001b[0mSuccessfully installed GitPython-3.1.42 gitdb-4.0.11 matrix-client-0.4.0 smmap-5.0.1 urllib3-1.26.18\n"
          ]
        }
      ],
      "source": [
        "#### #@title Environment Setup\n",
        "\n",
        "from pathlib import Path\n",
        "\n",
        "OPTIONS = {}\n",
        "\n",
        "USE_GOOGLE_DRIVE = True  #@param {type:\"boolean\"}\n",
        "UPDATE_COMFY_UI = True  #@param {type:\"boolean\"}\n",
        "USE_COMFYUI_MANAGER = True  #@param {type:\"boolean\"}\n",
        "INSTALL_CUSTOM_NODES_DEPENDENCIES = True  #@param {type:\"boolean\"}\n",
        "OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n",
        "OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n",
        "OPTIONS['USE_COMFYUI_MANAGER'] = USE_COMFYUI_MANAGER\n",
        "OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES'] = INSTALL_CUSTOM_NODES_DEPENDENCIES\n",
        "\n",
        "current_dir = !pwd\n",
        "WORKSPACE = f\"{current_dir[0]}/ComfyUI\"\n",
        "\n",
        "if OPTIONS['USE_GOOGLE_DRIVE']:\n",
        "    !echo \"Mounting Google Drive...\"\n",
        "    %cd /\n",
        "\n",
        "    from google.colab import drive\n",
        "    drive.mount('/content/drive')\n",
        "\n",
        "    WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n",
        "    %cd /content/drive/MyDrive\n",
        "\n",
        "![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n",
        "%cd $WORKSPACE\n",
        "\n",
        "if OPTIONS['UPDATE_COMFY_UI']:\n",
        "  !echo -= Updating ComfyUI =-\n",
        "  !git pull\n",
        "\n",
        "!echo -= Install dependencies =-\n",
        "!pip install xformers!=0.0.18 -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121 --extra-index-url https://download.pytorch.org/whl/cu118 --extra-index-url https://download.pytorch.org/whl/cu117\n",
        "\n",
        "if OPTIONS['USE_COMFYUI_MANAGER']:\n",
        "  %cd custom_nodes\n",
        "  ![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager\n",
        "  %cd ComfyUI-Manager\n",
        "  !git pull\n",
        "\n",
        "%cd $WORKSPACE\n",
        "\n",
        "if OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES']:\n",
        "  !pwd\n",
        "  !echo -= Install custom nodes dependencies =-\n",
        "  ![ -f \"custom_nodes/ComfyUI-Manager/scripts/colab-dependencies.py\" ] && python \"custom_nodes/ComfyUI-Manager/scripts/colab-dependencies.py\"\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "cccccccccc"
      },
      "source": [
        "#Step 2 (First Time)\n",
        "\n",
        "\n",
        "###Models that are required for basic image generation functionality.\n",
        "\n",
        "Run this cell the first time to download models to your google drive ComfyUI install that are useful for basic operation. Including the Canny Cotrolnet models that help you guide the form of a generated image based on that of another image.\n",
        "\n",
        "This cell should take about 8 minutes to run."
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "\n",
        "### SDXL\n",
        "!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
        "!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
        "\n",
        "# SD1.5\n",
        "!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
        "\n",
        "# VAE\n",
        "!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
        "\n",
        "# ControlNet\n",
        "!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
        "!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
        "!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
        "\n",
        "# ControlNet SDXL\n",
        "!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
        "!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
        "!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/"
      ],
      "metadata": {
        "id": "Dxzr4hUryKQ8",
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "outputId": "7f789bf7-d8f4-484f-f8ad-4c3f13825697"
      },
      "execution_count": 2,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "--2024-02-29 14:01:49--  https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.88, 18.172.134.124, 18.172.134.24, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.88|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/7f/2f/7f2fe2e27137549cd28e570e5bac269b49ebcf1e0e47279c7a941ebe5c948e02/31e35c80fc4829d14f90153f4c74cd59c90b779f6afe05a74cd6120b893f7e5b?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sd_xl_base_1.0.safetensors%3B+filename%3D%22sd_xl_base_1.0.safetensors%22%3B&Expires=1709474509&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDUwOX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy83Zi8yZi83ZjJmZTJlMjcxMzc1NDljZDI4ZTU3MGU1YmFjMjY5YjQ5ZWJjZjFlMGU0NzI3OWM3YTk0MWViZTVjOTQ4ZTAyLzMxZTM1YzgwZmM0ODI5ZDE0ZjkwMTUzZjRjNzRjZDU5YzkwYjc3OWY2YWZlMDVhNzRjZDYxMjBiODkzZjdlNWI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=HWJU0C7327bPc8b6Af5LLLAkZjRFVO%7EQU04-FJht5qiwbP%7E2AmiZZrxzOOfecQo9iB66ujgC9Szniy0cYFZDrnXjAdP7KlC%7ENYOgb8hJYmE8OYI5QMJpZq%7EBpeo9d5EAJwCK9PSefrv490iJzVIFJ62hSGqMg1CKjYx7nilfLHqWlvDL2Loi0hQ3hwj2CwMQmBGcwFEfshwJLhwY9XRcLI4XYu%7EDR4aGK3Qm3zAF%7EydROIrYfIfdXDskdbU4iFQsbiWH7LiAczSoGW037ggo4Nw27IqBjfgpINeqf1rs9Bzgj8iVHDMVcIDiwY-j%7Eq93YL3yNfOIYf9N2GyGdSJpbA__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:01:49--  https://cdn-lfs.huggingface.co/repos/7f/2f/7f2fe2e27137549cd28e570e5bac269b49ebcf1e0e47279c7a941ebe5c948e02/31e35c80fc4829d14f90153f4c74cd59c90b779f6afe05a74cd6120b893f7e5b?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sd_xl_base_1.0.safetensors%3B+filename%3D%22sd_xl_base_1.0.safetensors%22%3B&Expires=1709474509&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDUwOX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy83Zi8yZi83ZjJmZTJlMjcxMzc1NDljZDI4ZTU3MGU1YmFjMjY5YjQ5ZWJjZjFlMGU0NzI3OWM3YTk0MWViZTVjOTQ4ZTAyLzMxZTM1YzgwZmM0ODI5ZDE0ZjkwMTUzZjRjNzRjZDU5YzkwYjc3OWY2YWZlMDVhNzRjZDYxMjBiODkzZjdlNWI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=HWJU0C7327bPc8b6Af5LLLAkZjRFVO%7EQU04-FJht5qiwbP%7E2AmiZZrxzOOfecQo9iB66ujgC9Szniy0cYFZDrnXjAdP7KlC%7ENYOgb8hJYmE8OYI5QMJpZq%7EBpeo9d5EAJwCK9PSefrv490iJzVIFJ62hSGqMg1CKjYx7nilfLHqWlvDL2Loi0hQ3hwj2CwMQmBGcwFEfshwJLhwY9XRcLI4XYu%7EDR4aGK3Qm3zAF%7EydROIrYfIfdXDskdbU4iFQsbiWH7LiAczSoGW037ggo4Nw27IqBjfgpINeqf1rs9Bzgj8iVHDMVcIDiwY-j%7Eq93YL3yNfOIYf9N2GyGdSJpbA__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.26, 18.154.185.64, 18.154.185.27, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.26|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 6938078334 (6.5G) [binary/octet-stream]\n",
            "Saving to: ‘./models/checkpoints/sd_xl_base_1.0.safetensors’\n",
            "\n",
            "sd_xl_base_1.0.safe 100%[===================>]   6.46G  58.8MB/s    in 1m 48s  \n",
            "\n",
            "2024-02-29 14:03:37 (61.5 MB/s) - ‘./models/checkpoints/sd_xl_base_1.0.safetensors’ saved [6938078334/6938078334]\n",
            "\n",
            "--2024-02-29 14:03:38--  https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.4, 18.172.134.124, 18.172.134.24, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.4|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/ce/d3/ced31dbff26495591d2414c72203e0628a90376396736d14acab944c51f70305/7440042bbdc8a24813002c09b6b69b64dc90fded4472613437b7f55f9b7d9c5f?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sd_xl_refiner_1.0.safetensors%3B+filename%3D%22sd_xl_refiner_1.0.safetensors%22%3B&Expires=1709474395&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDM5NX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9jZS9kMy9jZWQzMWRiZmYyNjQ5NTU5MWQyNDE0YzcyMjAzZTA2MjhhOTAzNzYzOTY3MzZkMTRhY2FiOTQ0YzUxZjcwMzA1Lzc0NDAwNDJiYmRjOGEyNDgxMzAwMmMwOWI2YjY5YjY0ZGM5MGZkZWQ0NDcyNjEzNDM3YjdmNTVmOWI3ZDljNWY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=so2-w3t4tv1KUza9YdXehfEIqGjp%7EfUdBBiPgvXXg1DRs%7E4%7Eo%7ELFwgiwD-XRS%7EeqN45VF6MzlUDpqCSuRmI-YBqeF2qVDOBTXiINcagA2B9XX6v%7EmIbF1EgQALa764MXB29%7EjZeqHNilMhVs%7Ezp0Py6CL-WRZb8bw%7E39dMSGO4B598X9GhWrFPA0dHs4EVrzJ0ZxSypt3OtOMqxhCpM5AZN8rl2ChKHYc-8naeCRc8KfmWDkjfkXsUw3uUCGG9rXHtzoX4kwpLUJPV2r7fNDnm1C0ckTV7nSFqttFnEAzQ6getUcZ10Pw1VfKe8uJPJeGP7i2ZAc4hhMKG3ggRSAxg__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:03:38--  https://cdn-lfs.huggingface.co/repos/ce/d3/ced31dbff26495591d2414c72203e0628a90376396736d14acab944c51f70305/7440042bbdc8a24813002c09b6b69b64dc90fded4472613437b7f55f9b7d9c5f?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sd_xl_refiner_1.0.safetensors%3B+filename%3D%22sd_xl_refiner_1.0.safetensors%22%3B&Expires=1709474395&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDM5NX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9jZS9kMy9jZWQzMWRiZmYyNjQ5NTU5MWQyNDE0YzcyMjAzZTA2MjhhOTAzNzYzOTY3MzZkMTRhY2FiOTQ0YzUxZjcwMzA1Lzc0NDAwNDJiYmRjOGEyNDgxMzAwMmMwOWI2YjY5YjY0ZGM5MGZkZWQ0NDcyNjEzNDM3YjdmNTVmOWI3ZDljNWY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=so2-w3t4tv1KUza9YdXehfEIqGjp%7EfUdBBiPgvXXg1DRs%7E4%7Eo%7ELFwgiwD-XRS%7EeqN45VF6MzlUDpqCSuRmI-YBqeF2qVDOBTXiINcagA2B9XX6v%7EmIbF1EgQALa764MXB29%7EjZeqHNilMhVs%7Ezp0Py6CL-WRZb8bw%7E39dMSGO4B598X9GhWrFPA0dHs4EVrzJ0ZxSypt3OtOMqxhCpM5AZN8rl2ChKHYc-8naeCRc8KfmWDkjfkXsUw3uUCGG9rXHtzoX4kwpLUJPV2r7fNDnm1C0ckTV7nSFqttFnEAzQ6getUcZ10Pw1VfKe8uJPJeGP7i2ZAc4hhMKG3ggRSAxg__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.94, 18.154.185.27, 18.154.185.64, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.94|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 6075981930 (5.7G) [binary/octet-stream]\n",
            "Saving to: ‘./models/checkpoints/sd_xl_refiner_1.0.safetensors’\n",
            "\n",
            "sd_xl_refiner_1.0.s 100%[===================>]   5.66G  64.6MB/s    in 1m 59s  \n",
            "\n",
            "2024-02-29 14:05:36 (48.9 MB/s) - ‘./models/checkpoints/sd_xl_refiner_1.0.safetensors’ saved [6075981930/6075981930]\n",
            "\n",
            "--2024-02-29 14:05:37--  https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.4, 18.172.134.88, 18.172.134.24, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.4|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/6b/20/6b201da5f0f5c60524535ebb7deac2eef68605655d3bbacfee9cce0087f3b3f5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27v1-5-pruned-emaonly.ckpt%3B+filename%3D%22v1-5-pruned-emaonly.ckpt%22%3B&Expires=1709474487&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDQ4N319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy82Yi8yMC82YjIwMWRhNWYwZjVjNjA1MjQ1MzVlYmI3ZGVhYzJlZWY2ODYwNTY1NWQzYmJhY2ZlZTljY2UwMDg3ZjNiM2Y1L2NjNmNiMjcxMDM0MTczMjVmZjk0ZjUyYjdhNWQyZGRlNDVhNzUxNWIyNWMyNTVkOGUzOTZjOTAwMTQyODE1MTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=0T%7EEIgbj-efWajcOlBx2LWw8lElfjCqik30GZpqDAigYaFlt6mzcixCcAYJ1ICKSYbN9rLAHOWsCbehMDlOZgBg980jwcgAhPGOXoeOl5aG1mc2Yj99qKOq-GLjI3q8LopsIfV8ekgsTj83cI2OowSl4R1Wn30TFXJF38VWBbRICWcRKCwajcGfpSGRITUMfFoWRwXvfJRRp8Bx5jO8ozl6jcSpv8Dl3N28jL9Te0pigXKGIlSphZg1FdN6j6l6Sw2vyHWYaJFrS9H6oOcqEsQaRSA7h9QT1-fJ4uh%7E5MnyF04%7E8gkRmAPz0trBLYJZlGbhMg%7E6HPRJ07bPYkTCILA__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:05:37--  https://cdn-lfs.huggingface.co/repos/6b/20/6b201da5f0f5c60524535ebb7deac2eef68605655d3bbacfee9cce0087f3b3f5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27v1-5-pruned-emaonly.ckpt%3B+filename%3D%22v1-5-pruned-emaonly.ckpt%22%3B&Expires=1709474487&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDQ4N319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy82Yi8yMC82YjIwMWRhNWYwZjVjNjA1MjQ1MzVlYmI3ZGVhYzJlZWY2ODYwNTY1NWQzYmJhY2ZlZTljY2UwMDg3ZjNiM2Y1L2NjNmNiMjcxMDM0MTczMjVmZjk0ZjUyYjdhNWQyZGRlNDVhNzUxNWIyNWMyNTVkOGUzOTZjOTAwMTQyODE1MTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=0T%7EEIgbj-efWajcOlBx2LWw8lElfjCqik30GZpqDAigYaFlt6mzcixCcAYJ1ICKSYbN9rLAHOWsCbehMDlOZgBg980jwcgAhPGOXoeOl5aG1mc2Yj99qKOq-GLjI3q8LopsIfV8ekgsTj83cI2OowSl4R1Wn30TFXJF38VWBbRICWcRKCwajcGfpSGRITUMfFoWRwXvfJRRp8Bx5jO8ozl6jcSpv8Dl3N28jL9Te0pigXKGIlSphZg1FdN6j6l6Sw2vyHWYaJFrS9H6oOcqEsQaRSA7h9QT1-fJ4uh%7E5MnyF04%7E8gkRmAPz0trBLYJZlGbhMg%7E6HPRJ07bPYkTCILA__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.26, 18.154.185.94, 18.154.185.27, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.26|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 4265380512 (4.0G) [binary/octet-stream]\n",
            "Saving to: ‘./models/checkpoints/v1-5-pruned-emaonly.ckpt’\n",
            "\n",
            "v1-5-pruned-emaonly 100%[===================>]   3.97G  49.8MB/s    in 86s     \n",
            "\n",
            "2024-02-29 14:07:04 (47.1 MB/s) - ‘./models/checkpoints/v1-5-pruned-emaonly.ckpt’ saved [4265380512/4265380512]\n",
            "\n",
            "--2024-02-29 14:07:04--  https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.24, 18.172.134.88, 18.172.134.124, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.24|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/ec/ee/eceee26c5834d8a75cf04eeb17dfc06d1d5fe1d80c2f19520b148c11e2e98c45/735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27vae-ft-mse-840000-ema-pruned.safetensors%3B+filename%3D%22vae-ft-mse-840000-ema-pruned.safetensors%22%3B&Expires=1709474824&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDgyNH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9lYy9lZS9lY2VlZTI2YzU4MzRkOGE3NWNmMDRlZWIxN2RmYzA2ZDFkNWZlMWQ4MGMyZjE5NTIwYjE0OGMxMWUyZTk4YzQ1LzczNWU0YzNhNDQ3YTMyNTU3NjBkN2Y4Njg0NWYwOWY5Mzc4MDliYWE1MjljMTczNzBkODNlNGMzNzU4ZjNjNzU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=UWhicWqy6aTTJKQxYM1hlWuOKc1eUaRrSDrx8eLYjlUuNY60k%7E7vX7xti3OYRsltB%7E1b9oP4l3%7E6chVA6F7PLsauWeH7ScROw0R65MPWkOCehuHtt0cOG3KuGPfXkqEmHLGguvrevzVecFeewHIX%7Efi8weSoj9kjbkBqfId5uGI%7ESiP-DgZfZ728rhwHnYDGVVD90makeRzUfpubIIzv1CnNzKUM1IGtnuGAaYQu8wM26i%7ESFKBI%7EZ7uSJeWE493favBrJn0pd4G2oW3yWTlCfRNRelXRXo0wl3k%7EtfugbynRYWEKcCEV2gV6%7EvCtJQDwwFlQqzVc0W35kN8fiAy4Q__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:07:04--  https://cdn-lfs.huggingface.co/repos/ec/ee/eceee26c5834d8a75cf04eeb17dfc06d1d5fe1d80c2f19520b148c11e2e98c45/735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27vae-ft-mse-840000-ema-pruned.safetensors%3B+filename%3D%22vae-ft-mse-840000-ema-pruned.safetensors%22%3B&Expires=1709474824&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDgyNH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9lYy9lZS9lY2VlZTI2YzU4MzRkOGE3NWNmMDRlZWIxN2RmYzA2ZDFkNWZlMWQ4MGMyZjE5NTIwYjE0OGMxMWUyZTk4YzQ1LzczNWU0YzNhNDQ3YTMyNTU3NjBkN2Y4Njg0NWYwOWY5Mzc4MDliYWE1MjljMTczNzBkODNlNGMzNzU4ZjNjNzU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=UWhicWqy6aTTJKQxYM1hlWuOKc1eUaRrSDrx8eLYjlUuNY60k%7E7vX7xti3OYRsltB%7E1b9oP4l3%7E6chVA6F7PLsauWeH7ScROw0R65MPWkOCehuHtt0cOG3KuGPfXkqEmHLGguvrevzVecFeewHIX%7Efi8weSoj9kjbkBqfId5uGI%7ESiP-DgZfZ728rhwHnYDGVVD90makeRzUfpubIIzv1CnNzKUM1IGtnuGAaYQu8wM26i%7ESFKBI%7EZ7uSJeWE493favBrJn0pd4G2oW3yWTlCfRNRelXRXo0wl3k%7EtfugbynRYWEKcCEV2gV6%7EvCtJQDwwFlQqzVc0W35kN8fiAy4Q__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.27, 18.154.185.26, 18.154.185.64, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.27|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 334641190 (319M) [binary/octet-stream]\n",
            "Saving to: ‘./models/vae/vae-ft-mse-840000-ema-pruned.safetensors’\n",
            "\n",
            "vae-ft-mse-840000-e 100%[===================>] 319.14M  30.0MB/s    in 10s     \n",
            "\n",
            "2024-02-29 14:07:15 (30.5 MB/s) - ‘./models/vae/vae-ft-mse-840000-ema-pruned.safetensors’ saved [334641190/334641190]\n",
            "\n",
            "--2024-02-29 14:07:15--  https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.24, 18.172.134.88, 18.172.134.124, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.24|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/06/f2/06f2715698cc0f2fce8aa59e17548ba6e86afda736cc5eb3c908cd396b5fc580/8932b66e15aae835b3490dbf989f56c253104cee08a88bf21283762f557c9f10?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11p_sd15_canny_fp16.safetensors%3B+filename%3D%22control_v11p_sd15_canny_fp16.safetensors%22%3B&Expires=1709474835&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDgzNX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8wNi9mMi8wNmYyNzE1Njk4Y2MwZjJmY2U4YWE1OWUxNzU0OGJhNmU4NmFmZGE3MzZjYzVlYjNjOTA4Y2QzOTZiNWZjNTgwLzg5MzJiNjZlMTVhYWU4MzViMzQ5MGRiZjk4OWY1NmMyNTMxMDRjZWUwOGE4OGJmMjEyODM3NjJmNTU3YzlmMTA%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=feIn4Fz4FQXdRKF-Us3aTMoBN5Yp5C7GX3mGrDjNNfbavTxPCmyv4aVOHuQVqvlpRBF0Lf7DjhvAJb1I2VyAQL2tpw7QQgcyLA6X2yj6ONlJ4kA3rmKOweehhOcHfRFb8Dfutu-AYk8dWUbvCp6fKTxJY08JbVm1W52WrYhjfuV2FUZKbr1iyvX0uElND%7ErCs1Ij1afak8MtiYfKFfHlfIBSM7fpDvQliDWyy0gwquS4G-xZMR4n9ZCDuA4MfvkhW3-MvyHGReVJ4yz2l%7EaTcQLu3HD8JqpU4JdjA5ZR-Cfz%7E5cMpqx5zwpwTwrImHGlI%7EWvw6Kn5URF3MyVBAk%7Ejg__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:07:15--  https://cdn-lfs.huggingface.co/repos/06/f2/06f2715698cc0f2fce8aa59e17548ba6e86afda736cc5eb3c908cd396b5fc580/8932b66e15aae835b3490dbf989f56c253104cee08a88bf21283762f557c9f10?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11p_sd15_canny_fp16.safetensors%3B+filename%3D%22control_v11p_sd15_canny_fp16.safetensors%22%3B&Expires=1709474835&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDgzNX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8wNi9mMi8wNmYyNzE1Njk4Y2MwZjJmY2U4YWE1OWUxNzU0OGJhNmU4NmFmZGE3MzZjYzVlYjNjOTA4Y2QzOTZiNWZjNTgwLzg5MzJiNjZlMTVhYWU4MzViMzQ5MGRiZjk4OWY1NmMyNTMxMDRjZWUwOGE4OGJmMjEyODM3NjJmNTU3YzlmMTA%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=feIn4Fz4FQXdRKF-Us3aTMoBN5Yp5C7GX3mGrDjNNfbavTxPCmyv4aVOHuQVqvlpRBF0Lf7DjhvAJb1I2VyAQL2tpw7QQgcyLA6X2yj6ONlJ4kA3rmKOweehhOcHfRFb8Dfutu-AYk8dWUbvCp6fKTxJY08JbVm1W52WrYhjfuV2FUZKbr1iyvX0uElND%7ErCs1Ij1afak8MtiYfKFfHlfIBSM7fpDvQliDWyy0gwquS4G-xZMR4n9ZCDuA4MfvkhW3-MvyHGReVJ4yz2l%7EaTcQLu3HD8JqpU4JdjA5ZR-Cfz%7E5cMpqx5zwpwTwrImHGlI%7EWvw6Kn5URF3MyVBAk%7Ejg__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.94, 18.154.185.64, 18.154.185.27, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.94|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 722601100 (689M) [binary/octet-stream]\n",
            "Saving to: ‘./models/controlnet/control_v11p_sd15_canny_fp16.safetensors’\n",
            "\n",
            "control_v11p_sd15_c 100%[===================>] 689.13M  42.1MB/s    in 19s     \n",
            "\n",
            "2024-02-29 14:07:35 (35.7 MB/s) - ‘./models/controlnet/control_v11p_sd15_canny_fp16.safetensors’ saved [722601100/722601100]\n",
            "\n",
            "--2024-02-29 14:07:35--  https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.124, 18.172.134.24, 18.172.134.4, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.124|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/06/f2/06f2715698cc0f2fce8aa59e17548ba6e86afda736cc5eb3c908cd396b5fc580/1c4a79aa52fb63f607cb9ff479ea5aa1923b6ceb21267bd14b69bd05d7b617be?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11f1p_sd15_depth_fp16.safetensors%3B+filename%3D%22control_v11f1p_sd15_depth_fp16.safetensors%22%3B&Expires=1709474683&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDY4M319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8wNi9mMi8wNmYyNzE1Njk4Y2MwZjJmY2U4YWE1OWUxNzU0OGJhNmU4NmFmZGE3MzZjYzVlYjNjOTA4Y2QzOTZiNWZjNTgwLzFjNGE3OWFhNTJmYjYzZjYwN2NiOWZmNDc5ZWE1YWExOTIzYjZjZWIyMTI2N2JkMTRiNjliZDA1ZDdiNjE3YmU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=vRWeakh6v5MjI38l3FlQKp7258Gh5R5DWbzoyftNwyPe29RyLqkg0l-9Tz9qVvycgbNg-XBAXmgWGV9boVc3BZ6nVy77-rZJlqW-wiNZ%7EY71y2WTjQ-U5vwvfWtbHhfFojXMb4m4av7iehitfeffb3yuxkRQsexPOzVinOq3%7EJyFTS8dRaM471Dc%7Ekz57HZeiGC06k7TpqyjrDeHYpnj8GJeS51sxJus5Vw%7EElYoEed5euluMGR34MdMM0mfoFlej899qAIZ-LMqilcF%7EsvdMaez4ISmravGCr9QFy5%7EfVVStFvkHx7Mx9PATqERLv9dWbZmRqfQF9yD0FAZrQp88g__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:07:35--  https://cdn-lfs.huggingface.co/repos/06/f2/06f2715698cc0f2fce8aa59e17548ba6e86afda736cc5eb3c908cd396b5fc580/1c4a79aa52fb63f607cb9ff479ea5aa1923b6ceb21267bd14b69bd05d7b617be?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11f1p_sd15_depth_fp16.safetensors%3B+filename%3D%22control_v11f1p_sd15_depth_fp16.safetensors%22%3B&Expires=1709474683&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDY4M319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8wNi9mMi8wNmYyNzE1Njk4Y2MwZjJmY2U4YWE1OWUxNzU0OGJhNmU4NmFmZGE3MzZjYzVlYjNjOTA4Y2QzOTZiNWZjNTgwLzFjNGE3OWFhNTJmYjYzZjYwN2NiOWZmNDc5ZWE1YWExOTIzYjZjZWIyMTI2N2JkMTRiNjliZDA1ZDdiNjE3YmU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=vRWeakh6v5MjI38l3FlQKp7258Gh5R5DWbzoyftNwyPe29RyLqkg0l-9Tz9qVvycgbNg-XBAXmgWGV9boVc3BZ6nVy77-rZJlqW-wiNZ%7EY71y2WTjQ-U5vwvfWtbHhfFojXMb4m4av7iehitfeffb3yuxkRQsexPOzVinOq3%7EJyFTS8dRaM471Dc%7Ekz57HZeiGC06k7TpqyjrDeHYpnj8GJeS51sxJus5Vw%7EElYoEed5euluMGR34MdMM0mfoFlej899qAIZ-LMqilcF%7EsvdMaez4ISmravGCr9QFy5%7EfVVStFvkHx7Mx9PATqERLv9dWbZmRqfQF9yD0FAZrQp88g__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.94, 18.154.185.64, 18.154.185.27, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.94|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 722601100 (689M) [binary/octet-stream]\n",
            "Saving to: ‘./models/controlnet/control_v11f1p_sd15_depth_fp16.safetensors’\n",
            "\n",
            "control_v11f1p_sd15 100%[===================>] 689.13M  40.2MB/s    in 19s     \n",
            "\n",
            "2024-02-29 14:07:54 (36.5 MB/s) - ‘./models/controlnet/control_v11f1p_sd15_depth_fp16.safetensors’ saved [722601100/722601100]\n",
            "\n",
            "--2024-02-29 14:07:55--  https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.4, 18.172.134.124, 18.172.134.24, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.4|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/06/f2/06f2715698cc0f2fce8aa59e17548ba6e86afda736cc5eb3c908cd396b5fc580/10559106d1bb8196298b7a81565ede9279295d2b2df15165b9dbe189994def56?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11p_sd15_lineart_fp16.safetensors%3B+filename%3D%22control_v11p_sd15_lineart_fp16.safetensors%22%3B&Expires=1709474510&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDUxMH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8wNi9mMi8wNmYyNzE1Njk4Y2MwZjJmY2U4YWE1OWUxNzU0OGJhNmU4NmFmZGE3MzZjYzVlYjNjOTA4Y2QzOTZiNWZjNTgwLzEwNTU5MTA2ZDFiYjgxOTYyOThiN2E4MTU2NWVkZTkyNzkyOTVkMmIyZGYxNTE2NWI5ZGJlMTg5OTk0ZGVmNTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=H2ophsknF41tuaSS8qkQ8UdCDXMLw0KENozELIyNGwEKgD8dUmZf4lQvC369vOw6ENw9K4TUDyXkUgWEM9yh0yuY7iT4jCLvZK0p2fvDk0qUVT9T7Fbv3PAu5uMqM8exddfRzyTwItJfttcR6%7EgjugfDRNJEvhmvq5MNjRUxrHr11jPd3o%7EbZReYdTdJHdZhmsWaBq9ox0DbktkMpeyA4kvaKEDzXXmbeRI2glQD7cP273jyxFuDSJ0mr4Sozd%7ETBKdYpEcTuVkkFV7AW-ABSZM1TdoevZDGx3rLMNdByuYY4IvWXetDvPHTC5hJPJjQ4lciS2sSn1nCpMEQf7pVaw__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:07:55--  https://cdn-lfs.huggingface.co/repos/06/f2/06f2715698cc0f2fce8aa59e17548ba6e86afda736cc5eb3c908cd396b5fc580/10559106d1bb8196298b7a81565ede9279295d2b2df15165b9dbe189994def56?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11p_sd15_lineart_fp16.safetensors%3B+filename%3D%22control_v11p_sd15_lineart_fp16.safetensors%22%3B&Expires=1709474510&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDUxMH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8wNi9mMi8wNmYyNzE1Njk4Y2MwZjJmY2U4YWE1OWUxNzU0OGJhNmU4NmFmZGE3MzZjYzVlYjNjOTA4Y2QzOTZiNWZjNTgwLzEwNTU5MTA2ZDFiYjgxOTYyOThiN2E4MTU2NWVkZTkyNzkyOTVkMmIyZGYxNTE2NWI5ZGJlMTg5OTk0ZGVmNTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=H2ophsknF41tuaSS8qkQ8UdCDXMLw0KENozELIyNGwEKgD8dUmZf4lQvC369vOw6ENw9K4TUDyXkUgWEM9yh0yuY7iT4jCLvZK0p2fvDk0qUVT9T7Fbv3PAu5uMqM8exddfRzyTwItJfttcR6%7EgjugfDRNJEvhmvq5MNjRUxrHr11jPd3o%7EbZReYdTdJHdZhmsWaBq9ox0DbktkMpeyA4kvaKEDzXXmbeRI2glQD7cP273jyxFuDSJ0mr4Sozd%7ETBKdYpEcTuVkkFV7AW-ABSZM1TdoevZDGx3rLMNdByuYY4IvWXetDvPHTC5hJPJjQ4lciS2sSn1nCpMEQf7pVaw__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.27, 18.154.185.26, 18.154.185.64, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.27|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 722601100 (689M) [binary/octet-stream]\n",
            "Saving to: ‘./models/controlnet/control_v11p_sd15_lineart_fp16.safetensors’\n",
            "\n",
            "control_v11p_sd15_l 100%[===================>] 689.13M  53.0MB/s    in 19s     \n",
            "\n",
            "2024-02-29 14:08:14 (35.4 MB/s) - ‘./models/controlnet/control_v11p_sd15_lineart_fp16.safetensors’ saved [722601100/722601100]\n",
            "\n",
            "--2024-02-29 14:08:14--  https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.4, 18.172.134.124, 18.172.134.24, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.4|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/2f/38/2f383af98def7e9ee8b44a8642a849c43d9615d948564c1dd1871edd7bec0cdf/21f79f7368eff07f57bcd507ca91c0fc89070d7da182960ff24ed1d58310c3a7?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control-lora-canny-rank256.safetensors%3B+filename%3D%22control-lora-canny-rank256.safetensors%22%3B&Expires=1709474894&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDg5NH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8yZi8zOC8yZjM4M2FmOThkZWY3ZTllZThiNDRhODY0MmE4NDljNDNkOTYxNWQ5NDg1NjRjMWRkMTg3MWVkZDdiZWMwY2RmLzIxZjc5ZjczNjhlZmYwN2Y1N2JjZDUwN2NhOTFjMGZjODkwNzBkN2RhMTgyOTYwZmYyNGVkMWQ1ODMxMGMzYTc%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=F5Rg1xRmHL2d4CZTDOFTe9Uz6D1IhxpuxbXgpXH7AnfM29T3BJU7%7EY0DLe06rQrGW0JiedRJko86bAMViczYe%7E2LzgXeBkL125uC4VtOIdw02AnZdcusAgMVajdCo%7Ei4AMj5YftkAub0gUHaqy5WdWXyTbYVGpQql8Yqgfpl2yS%7E%7EZSLzswl0i1Qf228g8F7L9ac3V2OqOt8BHkrFazVwtTN-S09AL3UpXWRvP9ZVpuV3jF2CAtggpWE24QbnABx%7E0pny3kkd4bVjPrBxsTZlbScuIiQKOkYncwkCGFkyS74XN-56hxruM3rOHFNVykflD%7EwG1omdh6S77vR1rFihA__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:08:14--  https://cdn-lfs.huggingface.co/repos/2f/38/2f383af98def7e9ee8b44a8642a849c43d9615d948564c1dd1871edd7bec0cdf/21f79f7368eff07f57bcd507ca91c0fc89070d7da182960ff24ed1d58310c3a7?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control-lora-canny-rank256.safetensors%3B+filename%3D%22control-lora-canny-rank256.safetensors%22%3B&Expires=1709474894&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDg5NH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8yZi8zOC8yZjM4M2FmOThkZWY3ZTllZThiNDRhODY0MmE4NDljNDNkOTYxNWQ5NDg1NjRjMWRkMTg3MWVkZDdiZWMwY2RmLzIxZjc5ZjczNjhlZmYwN2Y1N2JjZDUwN2NhOTFjMGZjODkwNzBkN2RhMTgyOTYwZmYyNGVkMWQ1ODMxMGMzYTc%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=F5Rg1xRmHL2d4CZTDOFTe9Uz6D1IhxpuxbXgpXH7AnfM29T3BJU7%7EY0DLe06rQrGW0JiedRJko86bAMViczYe%7E2LzgXeBkL125uC4VtOIdw02AnZdcusAgMVajdCo%7Ei4AMj5YftkAub0gUHaqy5WdWXyTbYVGpQql8Yqgfpl2yS%7E%7EZSLzswl0i1Qf228g8F7L9ac3V2OqOt8BHkrFazVwtTN-S09AL3UpXWRvP9ZVpuV3jF2CAtggpWE24QbnABx%7E0pny3kkd4bVjPrBxsTZlbScuIiQKOkYncwkCGFkyS74XN-56hxruM3rOHFNVykflD%7EwG1omdh6S77vR1rFihA__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.27, 18.154.185.26, 18.154.185.64, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.27|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 774450192 (739M) [binary/octet-stream]\n",
            "Saving to: ‘./models/controlnet/control-lora-canny-rank256.safetensors’\n",
            "\n",
            "control-lora-canny- 100%[===================>] 738.57M  43.7MB/s    in 14s     \n",
            "\n",
            "2024-02-29 14:08:29 (52.8 MB/s) - ‘./models/controlnet/control-lora-canny-rank256.safetensors’ saved [774450192/774450192]\n",
            "\n",
            "--2024-02-29 14:08:29--  https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.88, 18.172.134.4, 18.172.134.124, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.88|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/2f/38/2f383af98def7e9ee8b44a8642a849c43d9615d948564c1dd1871edd7bec0cdf/559d2468951bf254c13bacd9c5d05d01ad67b060f6a73e8131d26ebf459c1c79?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control-lora-depth-rank256.safetensors%3B+filename%3D%22control-lora-depth-rank256.safetensors%22%3B&Expires=1709474909&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDkwOX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8yZi8zOC8yZjM4M2FmOThkZWY3ZTllZThiNDRhODY0MmE4NDljNDNkOTYxNWQ5NDg1NjRjMWRkMTg3MWVkZDdiZWMwY2RmLzU1OWQyNDY4OTUxYmYyNTRjMTNiYWNkOWM1ZDA1ZDAxYWQ2N2IwNjBmNmE3M2U4MTMxZDI2ZWJmNDU5YzFjNzk%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=VQIhcU4oCfGIfRTdtd4IoyzhO8lrMH1fzQxIPTicrfXvBaa6NZYsFzQAhQzwAPN8UrWoCpSka4qE8n%7Eb2rqkSJcstvN%7EVl3jY%7E0Yy43AOep76HfEb5UCoMJZRPhjAfesAKMLXNb99cFQhIB9G-aPe-c7KbUpA9ZmvzunvMmKW3qoHtpH4nmmD9plNWRiU4atq%7EAggTULtKItfmecnUCpcNrtuTrmPoXRgkh65XzrjsBzZA%7ENH1x1O0YiQkPNhkZzuwyAyRJgsBJTQOUGES6PTzAjOQfqDxgITo5YlFxREBoZQZFj-p85dRmCiesSzO4IVPdD2MeviSgV4pt9-JY2Aw__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:08:29--  https://cdn-lfs.huggingface.co/repos/2f/38/2f383af98def7e9ee8b44a8642a849c43d9615d948564c1dd1871edd7bec0cdf/559d2468951bf254c13bacd9c5d05d01ad67b060f6a73e8131d26ebf459c1c79?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control-lora-depth-rank256.safetensors%3B+filename%3D%22control-lora-depth-rank256.safetensors%22%3B&Expires=1709474909&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDkwOX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8yZi8zOC8yZjM4M2FmOThkZWY3ZTllZThiNDRhODY0MmE4NDljNDNkOTYxNWQ5NDg1NjRjMWRkMTg3MWVkZDdiZWMwY2RmLzU1OWQyNDY4OTUxYmYyNTRjMTNiYWNkOWM1ZDA1ZDAxYWQ2N2IwNjBmNmE3M2U4MTMxZDI2ZWJmNDU5YzFjNzk%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=VQIhcU4oCfGIfRTdtd4IoyzhO8lrMH1fzQxIPTicrfXvBaa6NZYsFzQAhQzwAPN8UrWoCpSka4qE8n%7Eb2rqkSJcstvN%7EVl3jY%7E0Yy43AOep76HfEb5UCoMJZRPhjAfesAKMLXNb99cFQhIB9G-aPe-c7KbUpA9ZmvzunvMmKW3qoHtpH4nmmD9plNWRiU4atq%7EAggTULtKItfmecnUCpcNrtuTrmPoXRgkh65XzrjsBzZA%7ENH1x1O0YiQkPNhkZzuwyAyRJgsBJTQOUGES6PTzAjOQfqDxgITo5YlFxREBoZQZFj-p85dRmCiesSzO4IVPdD2MeviSgV4pt9-JY2Aw__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.26, 18.154.185.94, 18.154.185.64, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.26|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 774445779 (739M) [binary/octet-stream]\n",
            "Saving to: ‘./models/controlnet/control-lora-depth-rank256.safetensors’\n",
            "\n",
            "control-lora-depth- 100%[===================>] 738.57M  44.3MB/s    in 15s     \n",
            "\n",
            "2024-02-29 14:08:44 (48.9 MB/s) - ‘./models/controlnet/control-lora-depth-rank256.safetensors’ saved [774445779/774445779]\n",
            "\n",
            "--2024-02-29 14:08:44--  https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 18.172.134.88, 18.172.134.4, 18.172.134.124, ...\n",
            "Connecting to huggingface.co (huggingface.co)|18.172.134.88|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/2f/38/2f383af98def7e9ee8b44a8642a849c43d9615d948564c1dd1871edd7bec0cdf/b0bf3c163b6f578b3a73e9cf61c3e4219ae9c2a06903663205d1251cf2498925?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control-lora-recolor-rank256.safetensors%3B+filename%3D%22control-lora-recolor-rank256.safetensors%22%3B&Expires=1709474924&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDkyNH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8yZi8zOC8yZjM4M2FmOThkZWY3ZTllZThiNDRhODY0MmE4NDljNDNkOTYxNWQ5NDg1NjRjMWRkMTg3MWVkZDdiZWMwY2RmL2IwYmYzYzE2M2I2ZjU3OGIzYTczZTljZjYxYzNlNDIxOWFlOWMyYTA2OTAzNjYzMjA1ZDEyNTFjZjI0OTg5MjU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=RcDbQwNppdnddZoxD1jVyFj1nxrCYRvLbXPfYU4lo66e-UVD4Q5daT0PoEmNuYIIwovtBXd-mofE8wMgiQDKJs0zb%7EzgWmdqbKZkpAwIsxJSEXxFco9U-q3F65H6bo8iuKTHhuODcybAS3bu9ZIJPhCWNo3Ioi3isRV65u-YacL8WFf8H8pNS6-BgF0Ixjm3ghhJ7aetzdl2aorIeUe7KLaGOMziek7e2ggVtBsWbGNwx%7Ex6q08TXdOFb-gD2u%7EiK4PKabsmgjdAwDqqC9F13wv51PiJXTUUuuv5qSE0GeRMGJRB9RR2htR5aTTeozGRFvr1y8busPE4225pRHqHeQ__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2024-02-29 14:08:44--  https://cdn-lfs.huggingface.co/repos/2f/38/2f383af98def7e9ee8b44a8642a849c43d9615d948564c1dd1871edd7bec0cdf/b0bf3c163b6f578b3a73e9cf61c3e4219ae9c2a06903663205d1251cf2498925?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control-lora-recolor-rank256.safetensors%3B+filename%3D%22control-lora-recolor-rank256.safetensors%22%3B&Expires=1709474924&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwOTQ3NDkyNH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy8yZi8zOC8yZjM4M2FmOThkZWY3ZTllZThiNDRhODY0MmE4NDljNDNkOTYxNWQ5NDg1NjRjMWRkMTg3MWVkZDdiZWMwY2RmL2IwYmYzYzE2M2I2ZjU3OGIzYTczZTljZjYxYzNlNDIxOWFlOWMyYTA2OTAzNjYzMjA1ZDEyNTFjZjI0OTg5MjU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=RcDbQwNppdnddZoxD1jVyFj1nxrCYRvLbXPfYU4lo66e-UVD4Q5daT0PoEmNuYIIwovtBXd-mofE8wMgiQDKJs0zb%7EzgWmdqbKZkpAwIsxJSEXxFco9U-q3F65H6bo8iuKTHhuODcybAS3bu9ZIJPhCWNo3Ioi3isRV65u-YacL8WFf8H8pNS6-BgF0Ixjm3ghhJ7aetzdl2aorIeUe7KLaGOMziek7e2ggVtBsWbGNwx%7Ex6q08TXdOFb-gD2u%7EiK4PKabsmgjdAwDqqC9F13wv51PiJXTUUuuv5qSE0GeRMGJRB9RR2htR5aTTeozGRFvr1y8busPE4225pRHqHeQ__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.154.185.64, 18.154.185.94, 18.154.185.26, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.154.185.64|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 774446618 (739M) [binary/octet-stream]\n",
            "Saving to: ‘./models/controlnet/control-lora-recolor-rank256.safetensors’\n",
            "\n",
            "control-lora-recolo 100%[===================>] 738.57M  30.2MB/s    in 15s     \n",
            "\n",
            "2024-02-29 14:09:00 (47.8 MB/s) - ‘./models/controlnet/control-lora-recolor-rank256.safetensors’ saved [774446618/774446618]\n",
            "\n"
          ]
        }
      ]
    },
    {
      "cell_type": "markdown",
      "source": [
        "#Step 2.1 (optional)\n",
        "###Install CSV custom node\n",
        "\n",
        "This node is not listed on the comfy UI database of custom nodes. If you wish to use it you will need to run the following cell."
      ],
      "metadata": {
        "id": "3iwPqF7TzjNX"
      }
    },
    {
      "cell_type": "code",
      "source": [
        "!git clone https://github.com/maracman/ComfyUI-SubjectStyle-CSV.git \"./custom_nodes/ComfyUI-SubjectStyle-CSV\""
      ],
      "metadata": {
        "id": "4XyutKcX0thT",
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "outputId": "d6a2802c-c03b-45ad-a99f-e60968ff63d7"
      },
      "execution_count": 3,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Cloning into './custom_nodes/ComfyUI-SubjectStyle-CSV'...\n",
            "remote: Enumerating objects: 25, done.\u001b[K\n",
            "remote: Counting objects: 100% (25/25), done.\u001b[K\n",
            "remote: Compressing objects: 100% (25/25), done.\u001b[K\n",
            "remote: Total 25 (delta 5), reused 0 (delta 0), pack-reused 0\u001b[K\n",
            "Receiving objects: 100% (25/25), 7.32 MiB | 13.98 MiB/s, done.\n",
            "Resolving deltas: 100% (5/5), done.\n"
          ]
        }
      ]
    },
    {
      "cell_type": "markdown",
      "source": [
        "#Step 2.2 (optional)\n",
        "###Optional models for additional functionality\n",
        "\n",
        "unhash any other models you wish to install"
      ],
      "metadata": {
        "id": "YcAv0IRmzPZz"
      }
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "dddddddddd",
        "outputId": "216921ba-0d46-4d53-dac5-0304f9611869"
      },
      "outputs": [
        {
          "name": "stdout",
          "output_type": "stream",
          "text": [
            "--2023-11-17 06:25:33--  https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt\n",
            "Resolving huggingface.co (huggingface.co)... 13.33.33.55, 13.33.33.102, 13.33.33.20, ...\n",
            "Connecting to huggingface.co (huggingface.co)|13.33.33.55|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/6b/20/6b201da5f0f5c60524535ebb7deac2eef68605655d3bbacfee9cce0087f3b3f5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27v1-5-pruned-emaonly.ckpt%3B+filename%3D%22v1-5-pruned-emaonly.ckpt%22%3B&Expires=1700458823&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwMDQ1ODgyM319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy82Yi8yMC82YjIwMWRhNWYwZjVjNjA1MjQ1MzVlYmI3ZGVhYzJlZWY2ODYwNTY1NWQzYmJhY2ZlZTljY2UwMDg3ZjNiM2Y1L2NjNmNiMjcxMDM0MTczMjVmZjk0ZjUyYjdhNWQyZGRlNDVhNzUxNWIyNWMyNTVkOGUzOTZjOTAwMTQyODE1MTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=OaptBfzbaBAcuJgc464kW7UlUitbWq-vu%7EjEPHs8naHUOqyGuINjDQ7U4fx9699%7EJ9YHL4of%7ESSP6KK9ucw6j%7EC-riQiAf6hyjZoez%7EXlT5rXWUWYla3TzzbBIGfUybU7UvXf4eF%7EQteIaVtU%7EAAQ08zWOT%7EPPegNHhFh%7EjhpQ%7EnpDVcoP9KWIY9yopcGXg5GQzFqOHEsmNQnl4%7E1Ro0kNRofQwlpRTANG2dTyQltu%7EqwwH3RLRGxZyLOyiFvVvh8VawZHunoDJl8vyLXyZ7ehNgyJpKLNRFJLjFjklGE3fIi5bp4G645XzKyhGkGGo%7E65sY4trggzV4vaWTP40%7ENw__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2023-11-17 06:25:34--  https://cdn-lfs.huggingface.co/repos/6b/20/6b201da5f0f5c60524535ebb7deac2eef68605655d3bbacfee9cce0087f3b3f5/cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27v1-5-pruned-emaonly.ckpt%3B+filename%3D%22v1-5-pruned-emaonly.ckpt%22%3B&Expires=1700458823&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwMDQ1ODgyM319LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy82Yi8yMC82YjIwMWRhNWYwZjVjNjA1MjQ1MzVlYmI3ZGVhYzJlZWY2ODYwNTY1NWQzYmJhY2ZlZTljY2UwMDg3ZjNiM2Y1L2NjNmNiMjcxMDM0MTczMjVmZjk0ZjUyYjdhNWQyZGRlNDVhNzUxNWIyNWMyNTVkOGUzOTZjOTAwMTQyODE1MTY%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=OaptBfzbaBAcuJgc464kW7UlUitbWq-vu%7EjEPHs8naHUOqyGuINjDQ7U4fx9699%7EJ9YHL4of%7ESSP6KK9ucw6j%7EC-riQiAf6hyjZoez%7EXlT5rXWUWYla3TzzbBIGfUybU7UvXf4eF%7EQteIaVtU%7EAAQ08zWOT%7EPPegNHhFh%7EjhpQ%7EnpDVcoP9KWIY9yopcGXg5GQzFqOHEsmNQnl4%7E1Ro0kNRofQwlpRTANG2dTyQltu%7EqwwH3RLRGxZyLOyiFvVvh8VawZHunoDJl8vyLXyZ7ehNgyJpKLNRFJLjFjklGE3fIi5bp4G645XzKyhGkGGo%7E65sY4trggzV4vaWTP40%7ENw__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.155.68.98, 18.155.68.73, 18.155.68.94, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.155.68.98|:443... connected.\n",
            "HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable\n",
            "\n",
            "    The file is already fully retrieved; nothing to do.\n",
            "\n",
            "--2023-11-17 06:25:34--  https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors\n",
            "Resolving huggingface.co (huggingface.co)... 13.33.33.55, 13.33.33.102, 13.33.33.20, ...\n",
            "Connecting to huggingface.co (huggingface.co)|13.33.33.55|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://cdn-lfs.huggingface.co/repos/ec/ee/eceee26c5834d8a75cf04eeb17dfc06d1d5fe1d80c2f19520b148c11e2e98c45/735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27vae-ft-mse-840000-ema-pruned.safetensors%3B+filename%3D%22vae-ft-mse-840000-ema-pruned.safetensors%22%3B&Expires=1700459078&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwMDQ1OTA3OH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9lYy9lZS9lY2VlZTI2YzU4MzRkOGE3NWNmMDRlZWIxN2RmYzA2ZDFkNWZlMWQ4MGMyZjE5NTIwYjE0OGMxMWUyZTk4YzQ1LzczNWU0YzNhNDQ3YTMyNTU3NjBkN2Y4Njg0NWYwOWY5Mzc4MDliYWE1MjljMTczNzBkODNlNGMzNzU4ZjNjNzU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=BgDI4oyXEXhrYTxrm4W8UBrXqaLSENr02mtd9Wl6J3gdh3a-PtEG9vaCI1eQ-AmSYm1yrrf2lKyehaxzaaZodiR9gZRaevWO%7EhFODpW7uHPDiQNV8TXIJ2XojlmZgV09jt0n4r1kR3tENktr6FrRprda9WxBh9y8ITlVPt8Qx1MRMGL5xlyRWUSentmbcabnrhsYknfCXNQZuONu0fFp-bLJ-pkdghe%7ElqQtc7ippZP9sUV5vC%7EQ6tY4KsQvCpgM08efa%7EXqgx4aMrFPOZG0wQrh5zcOiJgKOYPu6NC%7EF%7EsYgnLP5DnG-NStTAPgZTC481-OXhLGgLaF2cMZCACWrQ__&Key-Pair-Id=KVTP0A1DKRTAX [following]\n",
            "--2023-11-17 06:25:34--  https://cdn-lfs.huggingface.co/repos/ec/ee/eceee26c5834d8a75cf04eeb17dfc06d1d5fe1d80c2f19520b148c11e2e98c45/735e4c3a447a3255760d7f86845f09f937809baa529c17370d83e4c3758f3c75?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27vae-ft-mse-840000-ema-pruned.safetensors%3B+filename%3D%22vae-ft-mse-840000-ema-pruned.safetensors%22%3B&Expires=1700459078&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwMDQ1OTA3OH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9lYy9lZS9lY2VlZTI2YzU4MzRkOGE3NWNmMDRlZWIxN2RmYzA2ZDFkNWZlMWQ4MGMyZjE5NTIwYjE0OGMxMWUyZTk4YzQ1LzczNWU0YzNhNDQ3YTMyNTU3NjBkN2Y4Njg0NWYwOWY5Mzc4MDliYWE1MjljMTczNzBkODNlNGMzNzU4ZjNjNzU%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=BgDI4oyXEXhrYTxrm4W8UBrXqaLSENr02mtd9Wl6J3gdh3a-PtEG9vaCI1eQ-AmSYm1yrrf2lKyehaxzaaZodiR9gZRaevWO%7EhFODpW7uHPDiQNV8TXIJ2XojlmZgV09jt0n4r1kR3tENktr6FrRprda9WxBh9y8ITlVPt8Qx1MRMGL5xlyRWUSentmbcabnrhsYknfCXNQZuONu0fFp-bLJ-pkdghe%7ElqQtc7ippZP9sUV5vC%7EQ6tY4KsQvCpgM08efa%7EXqgx4aMrFPOZG0wQrh5zcOiJgKOYPu6NC%7EF%7EsYgnLP5DnG-NStTAPgZTC481-OXhLGgLaF2cMZCACWrQ__&Key-Pair-Id=KVTP0A1DKRTAX\n",
            "Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.155.68.98, 18.155.68.73, 18.155.68.94, ...\n",
            "Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.155.68.98|:443... connected.\n",
            "HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable\n",
            "\n",
            "    The file is already fully retrieved; nothing to do.\n",
            "\n"
          ]
        }
      ],
      "source": [
        "# Checkpoints\n",
        "\n",
        "\n",
        "### SDXL\n",
        "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
        "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
        "\n",
        "# SDXL ReVision\n",
        "#!wget -c https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors -P ./models/clip_vision/\n",
        "\n",
        "# SD1.5\n",
        "#!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
        "\n",
        "# SD2\n",
        "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n",
        "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n",
        "\n",
        "# unCLIP models\n",
        "#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
        "\n",
        "# VAE\n",
        "#!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
        "\n",
        "# T2I-Adapter models (Similar to controlnet)\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n",
        "\n",
        "# T2I Styles Model\n",
        "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n",
        "\n",
        "# CLIPVision model (needed for styles model)\n",
        "#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n",
        "\n",
        "# ControlNet\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n",
        "\n",
        "# ControlNet SDXL\n",
        "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/\n",
        "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors -P ./models/controlnet/\n",
        "\n",
        "# Controlnet Preprocessor nodes by Fannovel16\n",
        "#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n",
        "\n",
        "# GLIGEN\n",
        "#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n",
        "\n",
        "# Upscale models\n",
        "#!wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/\n",
        "#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n",
        "#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n",
        "\n",
        "\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "kkkkkkkkkkkkkkk"
      },
      "source": [
        "#Step 3 (every time)\n",
        "### Run ComfyUI with cloudflared\n",
        "\n",
        "Wait for the load to finish (the cell will keep running) then click the link at the bottom of the printed text, after \"This is the URL to access ComfyUI:\". ComfyUI should then load in another tab.\n",
        "\n"
      ]
    },
    {
      "cell_type": "code",
      "execution_count": 5,
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "jjjjjjjjjjjjjj",
        "outputId": "67c0c5ea-e301-4245-cdd9-ac7a1b690c83"
      },
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "--2024-02-29 14:22:43--  https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
            "Resolving github.com (github.com)... 140.82.114.4\n",
            "Connecting to github.com (github.com)|140.82.114.4|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-linux-amd64.deb [following]\n",
            "--2024-02-29 14:22:43--  https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-linux-amd64.deb\n",
            "Reusing existing connection to github.com:443.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/106867604/3abb718e-e496-44bd-b7c4-ceb1918a9e68?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240229%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240229T142243Z&X-Amz-Expires=300&X-Amz-Signature=4320209f6f1cb695a543b2672c610367b71f400759c3962373e6cc48eb1d5dc5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=106867604&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream [following]\n",
            "--2024-02-29 14:22:43--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/106867604/3abb718e-e496-44bd-b7c4-ceb1918a9e68?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240229%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240229T142243Z&X-Amz-Expires=300&X-Amz-Signature=4320209f6f1cb695a543b2672c610367b71f400759c3962373e6cc48eb1d5dc5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=106867604&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream\n",
            "Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...\n",
            "Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 17767860 (17M) [application/octet-stream]\n",
            "Saving to: ‘cloudflared-linux-amd64.deb.1’\n",
            "\n",
            "cloudflared-linux-a 100%[===================>]  16.94M  56.1MB/s    in 0.3s    \n",
            "\n",
            "2024-02-29 14:22:44 (56.1 MB/s) - ‘cloudflared-linux-amd64.deb.1’ saved [17767860/17767860]\n",
            "\n",
            "(Reading database ... 121753 files and directories currently installed.)\n",
            "Preparing to unpack cloudflared-linux-amd64.deb ...\n",
            "Unpacking cloudflared (2024.2.1) over (2024.2.1) ...\n",
            "Setting up cloudflared (2024.2.1) ...\n",
            "Processing triggers for man-db (2.10.2-1) ...\n",
            "** ComfyUI startup time: 2024-02-29 14:22:45.152877\n",
            "** Platform: Linux\n",
            "** Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]\n",
            "** Python executable: /usr/bin/python3\n",
            "** Log path: /content/drive/MyDrive/ComfyUI/comfyui.log\n",
            "\n",
            "Prestartup times for custom nodes:\n",
            "   0.0 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI-Manager\n",
            "\n",
            "Total VRAM 15102 MB, total RAM 12979 MB\n",
            "WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:\n",
            "    PyTorch 2.2.0+cu118 with CUDA 1108 (you have 2.2.0+cu121)\n",
            "    Python  3.10.13 (you have 3.10.12)\n",
            "  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)\n",
            "  Memory-efficient attention, SwiGLU, sparse and more won't be available.\n",
            "  Set XFORMERS_MORE_DETAILS=1 for more details\n",
            "2024-02-29 14:22:50.378550: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n",
            "2024-02-29 14:22:50.378605: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n",
            "2024-02-29 14:22:50.380435: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n",
            "2024-02-29 14:22:50.391367: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
            "To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
            "2024-02-29 14:22:52.545340: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
            "xformers version: 0.0.24+cu118\n",
            "Set vram state to: NORMAL_VRAM\n",
            "Device: cuda:0 Tesla T4 : cudaMallocAsync\n",
            "VAE dtype: torch.float32\n",
            "Using pytorch cross attention\n",
            "### Loading: ComfyUI-Manager (V2.8.3)\n",
            "### ComfyUI Revision: 2029 [b3e97fc7] | Released on '2024-02-28'\n",
            "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json\n",
            "\u001b[36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: /content/drive/MyDrive/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts\u001b[0m\n",
            "\u001b[36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False\u001b[0m\n",
            "\u001b[36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']\u001b[0m\n",
            "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json\n",
            "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json\n",
            "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json\n",
            "Downloading: \"https://download.pytorch.org/models/mobilenet_v2-b0353104.pth\" to /root/.cache/torch/hub/checkpoints/mobilenet_v2-b0353104.pth\n",
            "/content/drive/MyDrive/ComfyUI/custom_nodes/comfyui_controlnet_aux/node_wrappers/dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly\n",
            "  warnings.warn(\"DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly\")\n",
            "\u001b[34mWAS Node Suite: \u001b[0mCreated default conf file at `/content/drive/MyDrive/ComfyUI/custom_nodes/was-node-suite-comfyui/was_suite_config.json`.\u001b[0m\n",
            "\u001b[34mWAS Node Suite: \u001b[0mOpenCV Python FFMPEG support is enabled\u001b[0m\n",
            "\u001b[34mWAS Node Suite \u001b[93mWarning: \u001b[0m`ffmpeg_bin_path` is not set in `/content/drive/MyDrive/ComfyUI/custom_nodes/was-node-suite-comfyui/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.\u001b[0m\n",
            "\u001b[34mWAS Node Suite: \u001b[0mFinished.\u001b[0m \u001b[32mLoaded\u001b[0m \u001b[0m211\u001b[0m \u001b[32mnodes successfully.\u001b[0m\n",
            "\n",
            "\t\u001b[3m\u001b[93m\"Art is the magic that brings beauty into the world.\"\u001b[0m\u001b[3m - Unknown\u001b[0m\n",
            "\n",
            "------------------------------------------\n",
            "\u001b[34mComfyroll Studio v1.76 : \u001b[92m 175 Nodes Loaded\u001b[0m\n",
            "------------------------------------------\n",
            "** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md\n",
            "** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki\n",
            "------------------------------------------\n",
            "\n",
            "Import times for custom nodes:\n",
            "   0.0 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI-SubjectStyle-CSV\n",
            "   0.0 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/cg-use-everywhere\n",
            "   0.2 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI-Manager\n",
            "   0.3 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts\n",
            "   0.8 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes\n",
            "   2.9 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/comfyui_controlnet_aux\n",
            "   2.9 seconds: /content/drive/MyDrive/ComfyUI/custom_nodes/was-node-suite-comfyui\n",
            "\n",
            "\n",
            "ComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\n",
            "\n",
            "This is the URL to access ComfyUI: https://praise-genealogy-bugs-replace.trycloudflare.com                                   |\n",
            "FETCH DATA from: /content/drive/MyDrive/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json\n",
            "got prompt\n",
            "ERROR:root:Failed to validate prompt for output 71:\n",
            "ERROR:root:* CheckpointLoaderSimple 4:\n",
            "ERROR:root:  - Value not in list: ckpt_name: 'sd_xl_base_1.0.safetensors/sd_xl_base_1.0.safetensors' not in ['sd_xl_base_1.0.safetensors', 'sd_xl_refiner_1.0.safetensors', 'v1-5-pruned-emaonly.ckpt']\n",
            "ERROR:root:* LoadImage 123:\n",
            "ERROR:root:  - Custom validation failed for node: image - Invalid image file: 1000_F_221246591_UwwIHJEClXHfZU9RAUnGunMnta3yBwKV.jpeg\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 15:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 136:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 135:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 31:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 37:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 95:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 19:\n",
            "ERROR:root:Output will be ignored\n",
            "Styled Positive Prompt: raw chicken breasts, chicken fillet uncooked , view from above, ((plain white background)), plain, white table,\n",
            "Styled Negative Prompt: cooked , multiple pieces, (watermark:1.6), plate, garnish, side dish, chopping board, concrete\n",
            "Styled Positive Prompt: grilled chicken breast , ((plain white background)), plain, white table,\n",
            "Styled Negative Prompt: sides, garnish, sauce , ((plate)), meal, garnish, side dish, chopping board, concrete\n",
            "Styled Positive Prompt: meal, grilled chicken breast, carrots and peas , ((white background))\n",
            "Styled Negative Prompt: wooden table , plate\n",
            "Styled Positive Prompt: sea shells, pink , 2 shells, ((white background))\n",
            "Styled Negative Prompt: food \n",
            "ERROR:root:!!! Exception during processing !!!\n",
            "ERROR:root:Traceback (most recent call last):\n",
            "  File \"/content/drive/MyDrive/ComfyUI/execution.py\", line 152, in recursive_execute\n",
            "    output_data, output_ui = get_output_data(obj, input_data_all)\n",
            "  File \"/content/drive/MyDrive/ComfyUI/execution.py\", line 82, in get_output_data\n",
            "    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)\n",
            "  File \"/content/drive/MyDrive/ComfyUI/execution.py\", line 75, in map_node_over_list\n",
            "    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))\n",
            "  File \"/content/drive/MyDrive/ComfyUI/nodes.py\", line 540, in load_checkpoint\n",
            "    out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths(\"embeddings\"))\n",
            "  File \"/content/drive/MyDrive/ComfyUI/comfy/sd.py\", line 494, in load_checkpoint_guess_config\n",
            "    sd = comfy.utils.load_torch_file(ckpt_path)\n",
            "  File \"/content/drive/MyDrive/ComfyUI/comfy/utils.py\", line 12, in load_torch_file\n",
            "    if ckpt.lower().endswith(\".safetensors\"):\n",
            "AttributeError: 'NoneType' object has no attribute 'lower'\n",
            "\n",
            "Prompt executed in 2.98 seconds\n",
            "got prompt\n",
            "ERROR:root:Failed to validate prompt for output 71:\n",
            "ERROR:root:* CheckpointLoaderSimple 4:\n",
            "ERROR:root:  - Value not in list: ckpt_name: 'sd_xl_base_1.0.safetensors/sd_xl_base_1.0.safetensors' not in ['sd_xl_base_1.0.safetensors', 'sd_xl_refiner_1.0.safetensors', 'v1-5-pruned-emaonly.ckpt']\n",
            "ERROR:root:* LoadImage 123:\n",
            "ERROR:root:  - Custom validation failed for node: image - Invalid image file: 1000_F_221246591_UwwIHJEClXHfZU9RAUnGunMnta3yBwKV.jpeg\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 15:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 136:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 135:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 31:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 37:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 95:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:Failed to validate prompt for output 19:\n",
            "ERROR:root:Output will be ignored\n",
            "ERROR:root:!!! Exception during processing !!!\n",
            "ERROR:root:Traceback (most recent call last):\n",
            "  File \"/content/drive/MyDrive/ComfyUI/execution.py\", line 152, in recursive_execute\n",
            "    output_data, output_ui = get_output_data(obj, input_data_all)\n",
            "  File \"/content/drive/MyDrive/ComfyUI/execution.py\", line 82, in get_output_data\n",
            "    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)\n",
            "  File \"/content/drive/MyDrive/ComfyUI/execution.py\", line 75, in map_node_over_list\n",
            "    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))\n",
            "  File \"/content/drive/MyDrive/ComfyUI/nodes.py\", line 540, in load_checkpoint\n",
            "    out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths(\"embeddings\"))\n",
            "  File \"/content/drive/MyDrive/ComfyUI/comfy/sd.py\", line 494, in load_checkpoint_guess_config\n",
            "    sd = comfy.utils.load_torch_file(ckpt_path)\n",
            "  File \"/content/drive/MyDrive/ComfyUI/comfy/utils.py\", line 12, in load_torch_file\n",
            "    if ckpt.lower().endswith(\".safetensors\"):\n",
            "AttributeError: 'NoneType' object has no attribute 'lower'\n",
            "\n",
            "Prompt executed in 0.01 seconds\n",
            "got prompt\n",
            "model_type EPS\n",
            "adm 2816\n",
            "Using pytorch attention in VAE\n",
            "Working with z of shape (1, 4, 32, 32) = 4096 dimensions.\n",
            "Using pytorch attention in VAE\n",
            "clip missing: ['clip_l.logit_scale', 'clip_l.transformer.text_projection.weight']\n",
            "clip unexpected: ['clip_l.transformer.text_model.embeddings.position_ids']\n",
            "loaded straight to GPU\n",
            "Requested to load SDXL\n",
            "Loading 1 new model\n",
            "Requested to load SDXLClipModel\n",
            "Loading 1 new model\n",
            "100% 15/15 [00:18<00:00,  1.25s/it]\n",
            "Requested to load AutoencoderKL\n",
            "Loading 1 new model\n",
            "model_type EPS\n",
            "adm 2560\n",
            "Using pytorch attention in VAE\n",
            "Working with z of shape (1, 4, 32, 32) = 4096 dimensions.\n",
            "Using pytorch attention in VAE\n",
            "loaded straight to GPU\n",
            "Requested to load SDXLRefiner\n",
            "Loading 1 new model\n",
            "Requested to load SDXLRefinerClipModel\n",
            "Loading 1 new model\n",
            "100% 10/10 [00:08<00:00,  1.14it/s]\n",
            "Requested to load AutoencoderKL\n",
            "Loading 1 new model\n",
            "Requested to load SDXLClipModel\n",
            "Loading 1 new model\n",
            "Requested to load SDXL\n",
            "Loading 1 new model\n",
            "100% 20/20 [00:48<00:00,  2.41s/it]\n",
            "Requested to load AutoencoderKL\n",
            "Loading 1 new model\n",
            "Downloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2netp.onnx' to file '/content/drive/MyDrive/ComfyUI/models/rembg/u2netp.onnx'.\n",
            "100%|█████████████████████████████████████| 4.57M/4.57M [00:00<00:00, 11.1GB/s]\n",
            "PERFORMANCE WARNING:\n",
            "Thresholded incomplete Cholesky decomposition failed due to insufficient positive-definiteness of matrix A with parameters:\n",
            "    discard_threshold = 1.000000e-04\n",
            "    shift = 0.000000e+00\n",
            "Try decreasing discard_threshold or start with a larger shift\n",
            "\n",
            "Requested to load SDXLClipModel\n",
            "Loading 1 new model\n",
            "^C\n"
          ]
        }
      ],
      "source": [
        "!wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
        "!dpkg -i cloudflared-linux-amd64.deb\n",
        "\n",
        "import subprocess\n",
        "import threading\n",
        "import time\n",
        "import socket\n",
        "import urllib.request\n",
        "\n",
        "def iframe_thread(port):\n",
        "  while True:\n",
        "      time.sleep(0.5)\n",
        "      sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
        "      result = sock.connect_ex(('127.0.0.1', port))\n",
        "      if result == 0:\n",
        "        break\n",
        "      sock.close()\n",
        "  print(\"\\nComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
        "\n",
        "  p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
        "  for line in p.stderr:\n",
        "    l = line.decode()\n",
        "    if \"trycloudflare.com \" in l:\n",
        "      print(\"This is the URL to access ComfyUI:\", l[l.find(\"http\"):], end='')\n",
        "    #print(l, end='')\n",
        "\n",
        "\n",
        "threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
        "\n",
        "!python main.py --dont-print-server"
      ]
    },
    {
      "cell_type": "markdown",
      "source": [
        "#Instructions on ComfyUI and Manager\n",
        "\n",
        "The best way to get started is with example workflows.\n",
        "\n",
        "Find food workflows here:\n",
        "https://github.com/maracman/ComfyUI-SubjectStyle-CSV/tree/main/workflow_examples\n",
        "\n",
        "download the .png file and drag it into the ComfyUI interface.\n",
        "\n",
        "<img src=\"https://github.com/maracman/ComfyUI-SubjectStyle-CSV/blob/main/jupyter_notebook/redded-out-nodes.png?raw=true\" alt=\"Alt text\" width=\"600\">\n",
        "\n",
        "If you see any redded-out boxes these are custom nodes that are not installed on your ConfyUI instance.\n",
        "\n",
        "<img src=\"https://github.com/maracman/ComfyUI-SubjectStyle-CSV/blob/main/jupyter_notebook/Manager-button.png?raw=true\" alt=\"Alt text\" height=\"500\">\n",
        "\n",
        "<img src=\"https://github.com/maracman/ComfyUI-SubjectStyle-CSV/blob/main/jupyter_notebook/Manager-button-2.png?raw=true\" alt=\"Alt text\" height=\"500\">\n",
        "\n",
        "\n",
        "The simplest way to resolve this is to click on the \"Manager\" button then \"install missing custom nodes\" press install next to the missing custom nodes.\n",
        "\n",
        "Wait for installation (warnings shown below here are common  and may not indicate faiure to install). After this go back to the colab tab and restart the interface by reexecuting step 3.\n",
        "\n",
        "<img src=\"https://github.com/maracman/ComfyUI-SubjectStyle-CSV/blob/main/jupyter_notebook/installed-missing-nodes.png?raw=true\" alt=\"Alt text\" height=\"500\">"
      ],
      "metadata": {
        "id": "bxf1qsQIHcO1"
      }
    }
  ],
  "metadata": {
    "accelerator": "GPU",
    "colab": {
      "gpuType": "T4",
      "provenance": []
    },
    "kernelspec": {
      "display_name": "Python 3",
      "name": "python3"
    },
    "language_info": {
      "name": "python"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 0
}